package com.cold.common.domain;

import com.cold.common.annotation.Excel;
import com.cold.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 监控设备对象 cc_monitor_device
 * 
 * @author cold
 * @date 2024-02-29
 */
public class MonitorDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private Long id;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String code;

    /** 温度 */
    @Excel(name = "温度")
    private Long tem;

    /** 湿度 */
    @Excel(name = "湿度")
    private Long hum;

    /** 经度 */
    @Excel(name = "经度")
    private Long lon;

    /** 纬度 */
    @Excel(name = "纬度")
    private Long lat;

    /** 最高温度 */
    @Excel(name = "最高温度")
    private Long maxTem;

    /** 最大湿度 */
    @Excel(name = "最大湿度")
    private Long maxHum;

    /** 最低温度 */
    @Excel(name = "最低温度")
    private Long minTem;

    /** 最小湿度 */
    @Excel(name = "最小湿度")
    private Long minHum;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 是否删除 0 否 1 是 */
    @Excel(name = "是否删除 0 否 1 是")
    private Long deleted;

    /** 主机号 */
    @Excel(name = "主机号")
    private Long hostId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setTem(Long tem) 
    {
        this.tem = tem;
    }

    public Long getTem() 
    {
        return tem;
    }
    public void setHum(Long hum) 
    {
        this.hum = hum;
    }

    public Long getHum() 
    {
        return hum;
    }
    public void setLon(Long lon) 
    {
        this.lon = lon;
    }

    public Long getLon() 
    {
        return lon;
    }
    public void setLat(Long lat) 
    {
        this.lat = lat;
    }

    public Long getLat() 
    {
        return lat;
    }
    public void setMaxTem(Long maxTem) 
    {
        this.maxTem = maxTem;
    }

    public Long getMaxTem() 
    {
        return maxTem;
    }
    public void setMaxHum(Long maxHum) 
    {
        this.maxHum = maxHum;
    }

    public Long getMaxHum() 
    {
        return maxHum;
    }
    public void setMinTem(Long minTem) 
    {
        this.minTem = minTem;
    }

    public Long getMinTem() 
    {
        return minTem;
    }
    public void setMinHum(Long minHum) 
    {
        this.minHum = minHum;
    }

    public Long getMinHum() 
    {
        return minHum;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }
    public void setHostId(Long hostId) 
    {
        this.hostId = hostId;
    }

    public Long getHostId() 
    {
        return hostId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("tem", getTem())
            .append("hum", getHum())
            .append("lon", getLon())
            .append("lat", getLat())
            .append("maxTem", getMaxTem())
            .append("maxHum", getMaxHum())
            .append("minTem", getMinTem())
            .append("minHum", getMinHum())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .append("hostId", getHostId())
            .toString();
    }
}
